package test.test_6_28;


abstract class Demo_abstract {
    String name;

    {
        System.out.println("123456");
    }
    static {
        System.out.println("123456");
    }
    @Override
    public String toString() {
        return "Demo_abstract{" +
                "name='" + name + '\'' +
                '}';
    }

    public Demo_abstract() {
    }

    public Demo_abstract(String name) {
        this.name = name;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
}
